.page {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100vh;
  width: 100vw;
  font-size: 32rpx;
  background-color: #fff;

  .content {
    flex-grow: 1;
    overflow-y: auto;

    .messages {
      display: flex;
      flex-direction: column;
      gap: 32rpx;
      padding: 32rpx 24rpx;

      .time {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 56rpx;
        color: rgba(0, 0, 0, 0.4);
        font-size: 24rpx;
        line-height: 40rpx;
      }

      .message_area {
        display: flex;
        align-items: center;
        gap: 16rpx;
      }

      .self {
        border-radius: 24rpx 0 24rpx 24rpx;
        margin-left: auto;
        background-color: #d9e1ff;
      }

      .other {
        border-radius: 0 24rpx 24rpx 24rpx;
        background-color: #f3f3f3;
      }

      .message {
        position: relative;
        box-sizing: border-box;
        max-width: 510rpx;
        padding: 24rpx;
        font-size: 28rpx;
        line-height: 44rpx;
      }
    }


  }

  .bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24rpx;
    padding: 24rpx 24rpx calc(env(safe-area-inset-bottom) + 24rpx);
    border-top: 1rpx solid #e7e7e7;
    background-color: #ffffff;

    .input {
      flex-grow: 1;
      height: 80rpx;
      padding: 16rpx 32rpx;
      border-radius: 40rpx;
      border: 1rpx solid #dcdcdc;
      background: #f3f3f3;
      line-height: 48rpx;

      .input_input {
        width: 100%;
        height: 48rpx;
      }

      .send {
        width: 128rpx !important;
        margin: 0;
        font-weight: normal !important;
      }
    }
  }
}












